<div class="{{$viewClass['form-group']}}">

    <div class="{{$viewClass['label']}} control-label">
        <span>{!! $label !!}</span>
    </div>

    <div class="{{$viewClass['field']}}">

        @include('admin::form.error')

        <div class="input-group">

            <span class="input-group-prepend"><span class="input-group-text bg-white"><i class="feather icon-edit-2"></i></span></span>
            <input data-provide="typeahead" {!! $attributes !!} />
        </div>
        <script>
            (function () {
                $("[name={{ $name }}]").typeahead({
                    source:{!! json_encode($options) !!},
                    selectOnBlur:false,
                    showHintOnFocus:true
                });
            })();
        </script>

        @include('admin::form.help-block')

    </div>
</div>
